import Command from "./command"

export class ToggleModalCommand extends Command {
  constructor(modal: any, open: any) {
    super()
    this.payload = { modal, open }
  }
}
ToggleModalCommand.id = "TOGGLE_MODAL"
export class CloseModalCommand extends Command {
  constructor() {
    super()
  }
}
CloseModalCommand.id = "CLOSE_MODAL"
export class ToggleIconToolbarCommand extends Command {
  constructor(open: any) {
    super()
    this.payload = { open }
  }
}
ToggleIconToolbarCommand.id = "TOGGLE_ICON_TOOLBAR"
